<div class="ticket" ng-controller="ViewAllCommentController">
    <!--头部开始-->
    <div class="head pd_tb14" style="position: fixed;top: 0px;width: 100%;">
        <a class="back" go-back></a>
        <span class="headline f18">全部评论</span>
    </div>
    <!--头部结束-->
    <!--评论列表开始-->
    <div ng-controller="PublicController" style="padding-top: 1.2rem;">
        <div class="comment_list" infinite-scroll="reviews.nextPage()" infinite-scroll-disabled='reviews.busy' infinite-scroll-distance="1">
            <div class="comment_row" ng-repeat="review in reviews.items">
                <ul>
                    <li class="clear">
                        <div class="avatar fl" ui-sref="main.viewallreply({comment_id:review.id})"><img src="{{review.headimgurl}}" err-src="static/img/userdefault.png" alt=""></div>
                        <div class="comment_cont fl" ui-sref="main.viewallreply({comment_id:review.id})">
                            <div class="itme_1 clear">
                                <div class="name fl">
                                    <p ng-bind="review.nickname"></p>
                                </div>
                                <!--<div class="star fl clear" ng-style="setPost(review.star)"></div>-->
                                <div class="fun fr clear">
                                    <div class="like fl"><span class="fl"></span><span class="fl" ng-bind="review.reply"></span></div>
                                    <div class="reply fl"><span class="fl {{review.is_praise==0?'':'liked'}}" ng-click="IsPraiseView(review.id,$index,review.like,'all',$event)"></span><span class="fl" ng-bind="review.like"></span></div>
                                </div>
                            </div>
                            <div class="itme_2">
                                <p ng-bind="getDateDiff(getDateTimeStamp(review.timeline))"></p>
                            </div>
                            <div class="my_con nomg">
                                <p ng-bind="review.content"></p>
                            </div>
                            <div style="background: #f7f5f6;padding: 0.1rem .32rem; margin: 0.1rem 0rem;">
                                <div class="from_con" ng-repeat="replie in review.replies">
                                    <!--<p ng-if="replie.from_name"><span class="color999" ng-bind="replie.from_name+'：'"></span><span ng-bind="replie.content">购票须知不是有吗？是连坐的。</span></p>-->
                                    <p><span class="color999" ng-bind="replie.to_name!=''?replie.from_name:replie.from_name">bowen</span><span ng-hide="replie.to_name">：</span><i style="font-style:normal" ng-if="replie.to_name">回复</i><span class="color999" ng-if="replie.to_name" ng-bind="replie.to_name+'：'">天道</span><span ng-bind="replie.content">这样啊 刚过没看到额</span></p>
                                </div>
                            </div>

                            <div class="itme_img_box clear" ng-if="review.attach">
                                <div class="itme_img" ng-repeat="atta in review.attach.split(',').slice(0,5)" img-view img-arr="comment.attach" ng-style="{width:'{{review.attach.split(',').length==1?'2.6666rem':''}}',height:'{{review.attach.split(',').length==1?'2.6666rem':''}}'}">
                                    <img ng-src="{{atta}}" alt="">
                                </div>
                            </div>
                            <div class="more" ng-if="review.replies.length>=3">
                                <p ng-bind="'查看全部'+review.reply+'条回复'"></p>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--评论列表结束-->
    <div class="nodata" ng-show="reviews.nodata" style="padding-top: 1.2rem;">
        <div class="no_comments"></div>
        <p class="f14">您还没有说啥呢！</p>
    </div>
</div>